PDF4Java Reference Documentation
com.o2sol.pdf4java.logicalstructure Package / PDFStructureElement Class
Methods


In This Topic
    PDFStructureElement Class Members
    In This Topic

    The following tables list the members exposed by PDFStructureElement.

    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Methods
     NameDescription
    Public MethodAdds a new child to this structure element.  
    Public MethodGets the actual text of the structure element.
    This replacement text (which should apply to as small a piece of content as possible) is useful when extracting the document's contents in support of accessibility to users with disabilities or for other purposes.  
    Public MethodGets the alternate description of the structure element.  
    Public MethodGets the attributes of the structure element.  
    Public MethodGets the content of this structure element. <br> The value of this entry may be one of the following objects or a collection consisting of one or more of the following objects in any combination:<br> • Another structure element<br> • An integer marked-content identifier (<see cref="559f8e0c-ae20-410f-b587-36cf1bf7eeb3" info="T:com.o2sol.pdf4java.logicalstructure.PDFMarkedContentSequenceIdentifier" />) denoting a marked-content sequence<br> • A marked-content reference (<see cref="7126fde5-3233-4dc4-8e30-4469b5044efb" info="T:com.o2sol.pdf4java.logicalstructure.PDFMarkedContentReference" />) denoting a marked-content sequence<br> • An object reference (<see cref="598cd301-a112-49f2-ad66-9be6b8186747" info="T:com.o2sol.pdf4java.logicalstructure.PDFObjectReference" />) denoting a PDF object<br> Each of these objects other than the first (the structure element) shall be considered to be a content item.  
    Public MethodGets the attributes class names.  
    Public MethodGets the COS structure element.  
    Public MethodGets the COS structure element.  
    Public MethodGets the expanded form of an abbreviation.  
    Public MethodGets a flag indicating whether this structure element will be associated with a marked content sequence.
    This property is used only with formatted content and flow documents, to inform the layout engine whether to generate a marked content sequence or not for an object in the hierarchy.
    The method ignores the value of this property.  
    Public MethodGets the ID of this structure element.
    The string shall be unique among all elements in the document's structure hierarchy.  
    Public MethodGets the language of the structure element.  
    Public MethodGets the PDF page that contains the content of this structure element.  
    Public MethodGets the parent of this structure element.  
    Public MethodGets the phoneme of the structure element.
    It is an exact replacement for content enclosed by the structure element and its children. The value for this property is to be interpreted based on the property in effect.  
    Public MethodGets the phonetic alphabet of the structure element. <br> This property applies to the structure element and its children, except where overridden by a child structure element.<br> Currently defined values are:<br> • <b>ipa</b> for the International Phonetic Alphabet by the International Phonetic Association<br> • <b>x-sampa</b> for Extended Speech Assessment Methods Phonetic Alphabet(X-SAMPA)<br> • <b>zh-Latn-pinyin</b> for Pinyin Latin romanization(Mandarin)<br> • <b>zh-Latn-wadegile</b> for Wade-Giles romanization(Mandarin)  
    Public MethodGets the list of references.
    This property identifies the structure element or elements to which the item of content, contained within this structure element, refers (e.g.footnotes, end notes, sidebars, etc.).  
    Public MethodGets the revision of this structure element.  
    Public MethodGets the title of the structure element.
    The title should characterise the specific structure element, such as Chapter 1, rather than merely a generic element type, such as Chapter.  
    Public MethodGets the type of the structure element.
    Names of structure element types shall conform to the guidelines described in Annex E, "PDF Name Registry", of PDF specification.
    A set of standard structure types is defined as constants in class.  
    Public MethodSets the actual text of the structure element.
    This replacement text (which should apply to as small a piece of content as possible) is useful when extracting the document's contents in support of accessibility to users with disabilities or for other purposes.  
    Public MethodSets the alternate description of the structure element.  
    Public MethodSets the attributes of the structure element.  
    Public MethodSets the content of this structure element. <br> The value of this entry may be one of the following objects or a collection consisting of one or more of the following objects in any combination:<br> • Another structure element<br> • An integer marked-content identifier (<see cref="559f8e0c-ae20-410f-b587-36cf1bf7eeb3" info="T:com.o2sol.pdf4java.logicalstructure.PDFMarkedContentSequenceIdentifier" />) denoting a marked-content sequence<br> • A marked-content reference (<see cref="7126fde5-3233-4dc4-8e30-4469b5044efb" info="T:com.o2sol.pdf4java.logicalstructure.PDFMarkedContentReference" />) denoting a marked-content sequence<br> • An object reference (<see cref="598cd301-a112-49f2-ad66-9be6b8186747" info="T:com.o2sol.pdf4java.logicalstructure.PDFObjectReference" />) denoting a PDF object<br> Each of these objects other than the first (the structure element) shall be considered to be a content item.  
    Public MethodSets the attributes class names.  
    Public MethodSets the expanded form of an abbreviation.  
    Public MethodSets a flag indicating whether this structure element will be associated with a marked content sequence.
    This property is used only with formatted content and flow documents, to inform the layout engine whether to generate a marked content sequence or not for an object in the hierarchy.
    The method ignores the value of this property.  
    Public MethodSets the ID of this structure element.
    The string shall be unique among all elements in the document's structure hierarchy.  
    Public MethodSets the language of the structure element.  
    Public MethodSets the PDF page that contains the content of this structure element.  
    Public MethodSets the phoneme of the structure element.
    It is an exact replacement for content enclosed by the structure element and its children. The value for this property is to be interpreted based on the property in effect.  
    Public MethodSets the phonetic alphabet of the structure element. <br> This property applies to the structure element and its children, except where overridden by a child structure element.<br> Currently defined values are:<br> • <b>ipa</b> for the International Phonetic Alphabet by the International Phonetic Association<br> • <b>x-sampa</b> for Extended Speech Assessment Methods Phonetic Alphabet(X-SAMPA)<br> • <b>zh-Latn-pinyin</b> for Pinyin Latin romanization(Mandarin)<br> • <b>zh-Latn-wadegile</b> for Wade-Giles romanization(Mandarin)  
    Public MethodSets the list of references.
    This property identifies the structure element or elements to which the item of content, contained within this structure element, refers (e.g.footnotes, end notes, sidebars, etc.).  
    Public MethodSets the revision of this structure element.  
    Public MethodSets the title of the structure element.
    The title should characterise the specific structure element, such as Chapter 1, rather than merely a generic element type, such as Chapter.  
    Public MethodSets the type of the structure element.
    Names of structure element types shall conform to the guidelines described in Annex E, "PDF Name Registry", of PDF specification.
    A set of standard structure types is defined as constants in class.  
    Top
    See Also